package com.ndp.fb.rdb.api;

import com.ndp.fb.rdb.model.VpiCountryInfo;

import java.util.List;

/**
 * Created by Mikey.zhaopeng on 2015/3/19 12:07.
 * Email mikey.zhao@ndpmedia.com
 */
public interface VpiCountryInfoRdbService {


    void save(VpiCountryInfo vpiCountryInfo);

    void save(List<VpiCountryInfo> vpiCountryInfos);

    void update(VpiCountryInfo vpiCountryInfo);

    VpiCountryInfo findById(Long id);

    VpiCountryInfo findByVpiInfoIdAndCountryCode(Long vpiInfoId, String countryCode);


}
